package com.edu.his.mapper;

import com.edu.his.domain.Department;

import java.util.List;

/**
 * 描述：
 * 创建人：飘
 * 创建时间：2024/12/16
 **/
public interface DepartmentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    /**
     * 得到科室
     * @return
     */
    List<Department> getDepartment(String deptType);
}